package cn.ilikes.tools.nosql.jpa.persistences;

import javax.persistence.PersistenceUnitUtil;

public class JPAHBasePersistenceUnitUtil implements PersistenceUnitUtil {

	/**
	 * Return the id of the entity. A generated id is not guaranteed to be
	 * available until after the database insert has occurred. Returns
	 * null if the entity does not yet have an id.
	 * 返回这个实体的id,这个生成的Id并不保证可用直到这个实体被插入到到数据库。
	 */
	@Override
	public Object getIdentifier(Object arg0) {

		return null;
	}

	/**
	 * 确定所给定的 在 entity 的 装载状态
	 */
	@Override
	public boolean isLoaded(Object arg0) {

		return false;
	}

	/**
	 * Determine the load state of a given persistent attribute of an
	 * entity belonging to the persistence unit. 确定所给定的 在 entity 中的
	 * attributeName装载状态
	 */
	@Override
	public boolean isLoaded(Object entity, String attributeName) {

		return false;
	}

}
